package com.kgc.xsProvider.service;

import com.kgc.basic.util.ResponseMsg;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;

public interface SalesOrdersService {

    ResponseMsg selectSalesOrdersByPage(Map<String, Object> map);


    ResponseMsg insertSalesOrders( Map<String, Object> map);


    ResponseMsg updateSalesOrders(Map<String, Object> map);


    ResponseMsg deleteSalesOrders(Map<String, Object> map);


    ResponseMsg selectSalesOrdersById( int id);


    ResponseMsg checkSalesOrdersById(Map<String,Object> map);


    ResponseMsg selectSalesOrdersDetailByPage( Map<String, Object> map);


    ResponseMsg selectSalesOrdersDetailById( int id);

    ResponseMsg deleteSalesOrdersDetail(String xsOrderCode);

    ResponseMsg selectSalesOrdersByCode(String docCode);

    ResponseMsg selectSalesOrdersDetailByCode(String xsOrderCode);

    ResponseMsg insertCheck (@Param("code") String code, @Param("checkManId") Integer checkManId, @Param("checkComment") String checkComment);





}
